package com.example.demo.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.common.Result;
import com.example.demo.entity.Employee;

import java.util.List;

public interface EmployeeService {





    Object selectByUsername(String username);

    void insert(Employee employee);


    void updateById(Employee employee);

    void deleteById(Long id);

    Page<Employee> selectPage(Integer pageNum, Integer pageSize, String search);

    Employee loginEmployee(String username);


    void updatePassowrd(Employee employee);

    int getPassowrd(int id,String passowrd);
}
